{{extend 'layout.html'}}

<div class="module">
	<div class="module-body">	
		<ul class="nav nav-tabs">
			<li class="active"><a href="#test" data-toggle="tab">Test</a></li>
			<li><a href="#valutazioni" data-toggle="tab">Valutazioni</a></li>
		</ul>
		<div class="tab-content">
			<div class="tab-pane active in" id="test">
				{{=form}}
			</div>
			<div class="tab-pane fade" id="valutazioni">	
				<table class="table table-striped">
					<tbody>	
						<thead>
							<tr>
								<th></th>
								{{for header in valutazione_test['headers']:}}
									<th>{{=header["descrizione"]}}</th>
								{{pass}}
							</tr>
						</thead>																					
					    {{for line in valutazione_test['elements']:}}
					    	<tr>
					        	{{for el in line:}}
					        		<td>{{=el}}</td>
					        	{{pass}}						            	
					        </tr>	
					    {{pass}}						       						       					       														  														  
					</tbody>
				</table>								
			</div>
		</div>
	</div>
</div>